package gwtmodule1.client;

import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.ServiceDefTarget;

public interface TestService extends RemoteService {

	public static final String SERVICE_URI = "/testservice";

	public static class Util {

		public static TestServiceAsync getInstance() {

			TestServiceAsync instance = (TestServiceAsync) GWT
					.create(TestService.class);
			ServiceDefTarget target = (ServiceDefTarget) instance;
			target.setServiceEntryPoint(GWT.getModuleBaseURL() + SERVICE_URI);
			return instance;
		}
	}
	
	public String makeCalc(String p1, int p7);

}
